<template>
<uni-shadow-root class="partials-detailList-simpleDetaillList"><template name="simpleDetaillList">
<block v-if="jsonData.model == 0">
    <view class="detail_list_mode0" :style="'background: '+(jsonData.borderColor)+';'">
      <view v-for="(items,index) in (jsonData.items)" :key="items" class="mode0_items" :data-link="items.linkUrl" @click="tolinkUrl"> 
        <image mode="aspectFill" :src="(items.iconPath)+'?x-oss-process=style/preview'"></image>
          <view class="mode0_items_view1">
            <view>
              <view :style="'color:'+(items.titleColor)">{{items.title}}</view>
              <text :style="'color:'+(items.subTitleColor)">{{items.subTitle}}</text>
            </view>
            <text class="font2" :style="'color:'+(items.subTitleColor2)">{{result.subTitle2}}</text>
          </view>
      </view>
    </view>
</block>
<block v-if="jsonData.model == 1">
    <view class="detail_list_mode1" :style="'background: '+(jsonData.borderColor)+';'">
      <view v-for="(items,index) in (jsonData.items)" :key="items" class="mode1_items" :data-link="items.linkUrl" @click="tolinkUrl" :style="'border-right: 10px solid '+(jsonData.borderColor)+';'"> 
        <image mode="aspectFill" :src="items.iconPath"></image>
        <view class="center" :style="'width:'+((1/jsonData.column)*sysWidth-40)+'px;'">{{items.title}}</view>
       <view class="NewBox" v-if="items.subTitle2">
         <text>{{items.subTitle2}}</text>
       </view>
      </view>
    </view>
</block>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/detailList/simpleDetaillList'

Component({})

export default global['__wxComponents']['partials/detailList/simpleDetaillList']
</script>
<style platform="mp-weixin">

</style>